<template>
    <div>
        <h1>这是account组件</h1>

        <router-link to="/account/login">登录</router-link>
        <router-link to="/account/register">注册</router-link>

        <router-view></router-view>
    </div>
</template>

<script>
    export default {
        name: "Account.vue"
    }
</script>

<style lang="scss" scoped>
    /*普通的style标签只支持普通的样式，如果想要启动sass或less，需要为style元素设置lang属性*/
body{
    div{
        color: #eee090;
    }
}
</style>